#ifndef CONSTANTS_H
#define CONSTANTS_H

#include <SFML/Graphics.hpp>

// 颜色定义
extern const sf::Color SNAKE_COLOR;
extern const sf::Color SNAKE_BORDER_COLOR;
extern const sf::Color FOOD_COLOR;
extern const sf::Color FOOD_BORDER_COLOR;
extern const sf::Color BORDER_COLOR;
extern const sf::Color AISNAKE_COLOR;
extern const sf::Color AISNAKE_BORDER_COLOR;
extern const sf::Color ROBOTSNAKE_COLOR;
extern const sf::Color ROBOTSNAKE_BORDER_COLOR;
extern const sf::Color PLAYER_SCORE_COLOR;
extern const sf::Color AI_SCORE_COLOR;

// 窗口尺寸
const int WIDTH = 65;
const int HEIGHT = 35;
const int BLOCK_SIZE = 20;
const int PANEL_HEIGHT = 50;
const int BASE_SPEED = 150;

// 方向定义
enum Direction { STOP = 0, LEFT, RIGHT, UP, DOWN };

#endif // CONSTANTS_H